package com.infocollect.project.grant.domain;

import com.infocollect.framework.aspectj.lang.annotation.Excel;
import com.infocollect.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 考点管理对象 gr_exam_point
 * 
 * @author infocollect
 * @date 2022-05-14
 */
public class GrExamPoint extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 考点代码 */
    @Excel(name = "考点代码")
    private String epCode;

    /** 考点名称 */
    @Excel(name = "考点名称")
    private String epName;

    /** 所属部门（商户) */
    @Excel(name = "所属部门", readConverterExp = "所属部门（商户)")
    private Long departId;

    /** 项目类型 */
    @Excel(name = "项目类型")
    private Long granttypeId;

    /** 是否启用1启用0停用 */
    @Excel(name = "是否启用1启用0停用")
    private String isEnabled;

    /** 创建人（直接存名字） */
    @Excel(name = "创建人", readConverterExp = "直=接存名字")
    private String createUser;

    /** 考点说明 */
    @Excel(name = "考点说明")
    private String epExplain;

    /** 是否需要填写银行卡 1是 */
    @Excel(name = "是否需要填写银行卡 1是")
    private String isBank;

    /** 是否需要填写发卡行 1是 */
    @Excel(name = "是否需要填写发卡行 1是")
    private String isIssuingBank;

    /** 银行限制 */
    @Excel(name = "银行限制")
    private String bankNameLimit;

    /** 银行卡类别限制（借记卡、贷记卡等） */
    @Excel(name = "银行卡类别限制", readConverterExp = "借=记卡、贷记卡等")
    private String bankTypeLimit;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEpCode(String epCode) 
    {
        this.epCode = epCode;
    }

    public String getEpCode() 
    {
        return epCode;
    }
    public void setEpName(String epName) 
    {
        this.epName = epName;
    }

    public String getEpName() 
    {
        return epName;
    }
    public void setDepartId(Long departId) 
    {
        this.departId = departId;
    }

    public Long getDepartId() 
    {
        return departId;
    }
    public void setGranttypeId(Long granttypeId) 
    {
        this.granttypeId = granttypeId;
    }

    public Long getGranttypeId() 
    {
        return granttypeId;
    }
    public void setIsEnabled(String isEnabled) 
    {
        this.isEnabled = isEnabled;
    }

    public String getIsEnabled() 
    {
        return isEnabled;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setEpExplain(String epExplain) 
    {
        this.epExplain = epExplain;
    }

    public String getEpExplain() 
    {
        return epExplain;
    }
    public void setIsBank(String isBank) 
    {
        this.isBank = isBank;
    }

    public String getIsBank() 
    {
        return isBank;
    }
    public void setIsIssuingBank(String isIssuingBank) 
    {
        this.isIssuingBank = isIssuingBank;
    }

    public String getIsIssuingBank() 
    {
        return isIssuingBank;
    }
    public void setBankNameLimit(String bankNameLimit) 
    {
        this.bankNameLimit = bankNameLimit;
    }

    public String getBankNameLimit() 
    {
        return bankNameLimit;
    }
    public void setBankTypeLimit(String bankTypeLimit) 
    {
        this.bankTypeLimit = bankTypeLimit;
    }

    public String getBankTypeLimit() 
    {
        return bankTypeLimit;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("epCode", getEpCode())
            .append("epName", getEpName())
            .append("departId", getDepartId())
            .append("granttypeId", getGranttypeId())
            .append("isEnabled", getIsEnabled())
            .append("createTime", getCreateTime())
            .append("createUser", getCreateUser())
            .append("epExplain", getEpExplain())
            .append("isBank", getIsBank())
            .append("isIssuingBank", getIsIssuingBank())
            .append("bankNameLimit", getBankNameLimit())
            .append("bankTypeLimit", getBankTypeLimit())
            .toString();
    }
}
